package com.ruoyi.teaching.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 名师视频对象 jy_platform_teaching
 *
 * @author ruoyi
 * @date 2021-12-07
 */
@ApiModel
public class PlatformTeaching extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    @ApiModelProperty(value = "标题")
    private String title;

    /** 简介 */
    @Excel(name = "简介")
    @ApiModelProperty(value = "简介")
    private String teachInfo;

    /** 名师名称 */
    @Excel(name = "名师名称")
    @ApiModelProperty(value = "名师名称")
    private String teachName;

    /** 视频地址 */
    @Excel(name = "视频地址")
    @ApiModelProperty(value = "视频地址")
    private String teachUrl;

    private String videoCover;

    /** 启用状态 */
    @Excel(name = "启用状态")
    @ApiModelProperty(value = "启用状态")
    private String state;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setTeachInfo(String teachInfo)
    {
        this.teachInfo = teachInfo;
    }

    public String getTeachInfo()
    {
        return teachInfo;
    }
    public void setTeachName(String teachName)
    {
        this.teachName = teachName;
    }

    public String getTeachName()
    {
        return teachName;
    }
    public void setTeachUrl(String teachUrl)
    {
        this.teachUrl = teachUrl;
    }

    public String getTeachUrl()
    {
        return teachUrl;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }

    public String getVideoCover() {
        return videoCover;
    }

    public void setVideoCover(String videoCover) {
        this.videoCover = videoCover;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("teachInfo", getTeachInfo())
            .append("teachName", getTeachName())
            .append("teachUrl", getTeachUrl())
            .append("state", getState())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
